<template>
  <div class="about">
    <h1>This is an about page</h1>

    <p>text: {{text}}</p>
    <p>text1: {{text1}}</p>
    <p>text2: {{text2}}</p>
  </div>
</template>

<script>
import {mapState, mapGetters} from 'vuex'
export default {
  computed: {
    ...mapState({
      text: state => state.text
    }),
    text1() {
      return this.$store.getters.getTextAlerted
    },
    ...mapGetters({
      text2: 'getTextAlerted'
    }),
  }
}
</script>